package com.hzhc.enumBean;

import java.util.stream.Stream;

/**
 * 委托类型
 */
public enum YwOrderTypeEnum {

    ZJ("ZJ","重进"),
    TK("TK","提空"),
    TZ("TZ","提箱"),
    TZHK("TZHK","提重回空"),
    TKZJ("TKZJ","提空重进"),
    SGJ("SGJ","散改集"),
    HK("HK","还空"),
    KJ("KJ","空进");

    private String code;

    private String name;

    YwOrderTypeEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
    public static Stream<YwOrderTypeEnum> stream() {
        return Stream.of(YwOrderTypeEnum.values());
    }
}